package operate;

public class operator3 {
    public static void main(String[] args) {
        double a = 9.5;
        double b = 520;
        a += b;//a = (double)(a + b)
        System.out.println(a);


        double i = 600;
        double j = 520;
        i -= j;// i = (double)(i - j)
        System.out.println(i);


        int m = 10;
        int n = 5;
        //m *= n;m = (int)(m * n)
        //m /= n;m = (int)(m / n)
        m %=n;//m = (int)(m % n)
        System.out.println(m);


        byte x = 10;
        byte y = 30;
        /*x = x + y;报错
        //x = (byte)(x + y);
        x += y;*/
        System.out.println(x);
    }
}